package com.example.yiwei.crm.entity;

/**
 * Created by Administrator on 2016/12/7.
 */

public class CustomerMessageEntity {
    //客户id
    private int client_id;
    //协作人姓名
    private String coor_name;
    //客户姓名
    private String client_name;
    //客户年龄
    private int client_age;
    //客户性别
    private int client_gender;
    private String sex;
    private int pid;
    private int cid;
    private int aid;
    private String pname;
    private String cname;
    private String aname;
    //客户出生日期
    private String birthDay;
    //会员等级
    private int hydj;
    //入会反馈
    private int rhfk;
    //客户电话
    private String phone_Number;
    //客户身份证号
    private String IDNumber;
    //主要联系人
    private String mainContact;
    //联系电话
    private String contact_phone_number;
    //所属部门ID
    private int belongs_department_id;
    //所属部门
    private String belongs_department;
    //回访模版
    private String return_templete;
    //客户详细地址
    private String client_Address;
    //客户负责人
    private int client_Manager;
    private String client_manager_name;
    //下次联系时间
    private String next_Time;
    //下次联系内容
    private String next_Content;
    //客户类别
    private String client_Category;
    //渠道分类
    private String channel_classification;
    //渠道来源
    private String channel_source;
    //医疗类别
    private String medical_class;
    //保险号
    private String security_numbers;
    //邮编
    private String zip_Code;
    //家庭地址
    private String home_address;
    //公司名称
    private String company_name;
    //公司行业
    private String company_class;
    //公司电话
    private String company_phone;
    //公司邮箱
    private String company_email;
    //公司网址
    private String company_website;
    //公司地址
    private String company_address;
    //介绍人
    private String introducer;
    //疾病种类
    private String disease_category;
    //附加备注
    private String additional_remarks;
    //创建时间
    private String create_time;
    //更新时间
    private String update_time;
    //当前创建用户ID
    private String current_create_user_id;
    //当前创建用户姓名
    private String current_create_user_name;
    //当前更新用户姓名
    private String current_update_user_name;
    //当前更新用户ID
    private String current_update_user_id;
    //医疗机构ID
    private int medical_institution_ID;
    //回访模版ID
    private int return_templete_id;
    //客户类别ID
    private int client_Category_id;
    //渠道分类ID
    private int channel_classification_id;
    //渠道来源ID
    private int channel_source_id;
    //医疗类别ID
    private int medical_class_id;
    //医疗类别名字
    private int medical_class_name;
    private int coor_id;
    //接待人
    private int jd_id;
    private String jd;

    public String getCoor_name() {
        return coor_name;
    }

    public void setCoor_name(String coor_name) {
        this.coor_name = coor_name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getJd_id() {
        return jd_id;
    }

    public void setJd_id(int jd_id) {
        this.jd_id = jd_id;
    }

    public String getJd() {
        return jd;
    }

    public void setJd(String jd) {
        this.jd = jd;
    }

    public int getMedical_class_name() {
        return medical_class_name;
    }

    public void setMedical_class_name(int medical_class_name) {
        this.medical_class_name = medical_class_name;
    }

    //疾病种类ID
    private int disease_category_id;
    //系统备用字段
    private String system_backup_field;
    //删除标记
    private int delete_flag;
    //跳转成功标记
    private String tag;
    //是否关注
    private int is_attention;
    //跟进状态
    private int follw_state;
    //接诊医生
    private String recevie_doctor;
    //院内负责人
    private String manager_in_hospital;

    public int getCoor_id() {
        return coor_id;
    }

    public void setCoor_id(int coor_id) {
        this.coor_id = coor_id;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public int getHydj() {
        return hydj;
    }

    public void setHydj(int hydj) {
        this.hydj = hydj;
    }

    public int getRhfk() {
        return rhfk;
    }

    public void setRhfk(int rhfk) {
        this.rhfk = rhfk;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getManager_in_hospital() {
        return manager_in_hospital;
    }

    public void setManager_in_hospital(String manager_in_hospital) {
        this.manager_in_hospital = manager_in_hospital;
    }

    public String getMainContact() {
        return mainContact;
    }

    public void setMainContact(String mainContact) {
        this.mainContact = mainContact;
    }

    public String getContact_phone_number() {
        return contact_phone_number;
    }

    public void setContact_phone_number(String contact_phone_number) {
        this.contact_phone_number = contact_phone_number;
    }

    public int getBelongs_department_id() {
        return belongs_department_id;
    }

    public void setBelongs_department_id(int belongs_department_id) {
        this.belongs_department_id = belongs_department_id;
    }

    public String getBelongs_department() {
        return belongs_department;
    }

    public void setBelongs_department(String belongs_department) {
        this.belongs_department = belongs_department;
    }

    public String getRecevie_doctor() {
        return recevie_doctor;
    }

    public void setRecevie_doctor(String recevie_doctor) {
        this.recevie_doctor = recevie_doctor;
    }

    public int getIs_attention() {
        return is_attention;
    }

    public void setIs_attention(int is_attention) {
        this.is_attention = is_attention;
    }

    public int getFollw_state() {
        return follw_state;
    }

    public void setFollw_state(int follw_state) {
        this.follw_state = follw_state;
    }

    public String getCurrent_create_user_name() {
        return current_create_user_name;
    }

    public void setCurrent_create_user_name(String current_create_user_name) {
        this.current_create_user_name = current_create_user_name;
    }

    public String getCurrent_update_user_name() {
        return current_update_user_name;
    }

    public void setCurrent_update_user_name(String current_update_user_name) {
        this.current_update_user_name = current_update_user_name;
    }

    public String getClient_manager_name() {
        return client_manager_name;
    }

    public void setClient_manager_name(String client_manager_name) {
        this.client_manager_name = client_manager_name;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public CustomerMessageEntity(int client_id, String client_name, int client_age, int client_gender,
                                 String birthDay, String phone_Number, String IDNumber, String
                                         return_templete, String client_Address, int client_Manager,
                                 String next_Time, String next_Content, String client_Category, String
                                         channel_classification, String channel_source, String
                                         medical_class, String security_numbers, String zip_Code,
                                 String home_address, String company_name, String company_class,
                                 String company_phone, String company_email, String company_website,
                                 String company_address, String introducer, String disease_category,
                                 String additional_remarks, String create_time, String update_time,
                                 String current_create_user_id, String current_update_user_id, int
                                         medical_institution_ID, int return_templete_id, int
                                         client_Category_id, int channel_classification_id,
                                 int channel_source_id, int medical_class_id, int disease_category_id,
                                 String system_backup_field, int delete_flag) {
        this.client_id = client_id;
        this.client_name = client_name;
        this.client_age = client_age;
        this.client_gender = client_gender;
        this.birthDay = birthDay;
        this.phone_Number = phone_Number;
        this.IDNumber = IDNumber;
        this.return_templete = return_templete;
        this.client_Address = client_Address;
        this.client_Manager = client_Manager;
        this.next_Time = next_Time;
        this.next_Content = next_Content;
        this.client_Category = client_Category;
        this.channel_classification = channel_classification;
        this.channel_source = channel_source;
        this.medical_class = medical_class;
        this.security_numbers = security_numbers;
        this.zip_Code=zip_Code;
        this.home_address = home_address;
        this.company_name = company_name;
        this.company_class = company_class;
        this.company_phone = company_phone;
        this.company_email = company_email;
        this.company_website = company_website;
        this.company_address = company_address;
        this.introducer = introducer;
        this.disease_category = disease_category;
        this.additional_remarks = additional_remarks;
        this.create_time = create_time;
        this.update_time = update_time;
        this.current_create_user_id = current_create_user_id;
        this.current_update_user_id = current_update_user_id;
        this.medical_institution_ID = medical_institution_ID;
        this.return_templete_id = return_templete_id;
        this.client_Category_id = client_Category_id;
        this.channel_classification_id = channel_classification_id;
        this.channel_source_id = channel_source_id;
        this.medical_class_id = medical_class_id;
        this.disease_category_id = disease_category_id;
        this.system_backup_field = system_backup_field;
        this.delete_flag = delete_flag;
    }

    public int getClient_id() {
        return client_id;
    }

    public void setClient_id(int client_id) {
        this.client_id = client_id;
    }

    public String getClient_name() {
        return client_name;
    }

    public void setClient_name(String client_name) {
        this.client_name = client_name;
    }

    public int getClient_age() {
        return client_age;
    }

    public void setClient_age(int client_age) {
        this.client_age = client_age;
    }

    public int getClient_gender() {
        return client_gender;
    }

    public void setClient_gender(int client_gender) {
        this.client_gender = client_gender;
    }

    public String getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(String birthDay) {
        this.birthDay = birthDay;
    }

    public String getPhone_Number() {
        return phone_Number;
    }

    public void setPhone_Number(String phone_Number) {
        this.phone_Number = phone_Number;
    }

    public String getIDNumber() {
        return IDNumber;
    }

    public void setIDNumber(String IDNumber) {
        this.IDNumber = IDNumber;
    }

    public String getReturn_templete() {
        return return_templete;
    }

    public void setReturn_templete(String return_templete) {
        this.return_templete = return_templete;
    }

    public String getClient_Address() {
        return client_Address;
    }

    public void setClient_Address(String client_Address) {
        this.client_Address = client_Address;
    }

    public int getClient_Manager() {
        return client_Manager;
    }

    public void setClient_Manager(int client_Manager) {
        this.client_Manager = client_Manager;
    }

    public String getNext_Time() {
        return next_Time;
    }

    public void setNext_Time(String next_Time) {
        this.next_Time = next_Time;
    }

    public String getNext_Content() {
        return next_Content;
    }

    public void setNext_Content(String next_Content) {
        this.next_Content = next_Content;
    }

    public String getClient_Category() {
        return client_Category;
    }

    public void setClient_Category(String client_Category) {
        this.client_Category = client_Category;
    }

    public String getChannel_classification() {
        return channel_classification;
    }

    public void setChannel_classification(String channel_classification) {
        this.channel_classification = channel_classification;
    }

    public String getChannel_source() {
        return channel_source;
    }

    public void setChannel_source(String channel_source) {
        this.channel_source = channel_source;
    }

    public String getMedical_class() {
        return medical_class;
    }

    public void setMedical_class(String medical_class) {
        this.medical_class = medical_class;
    }

    public String getSecurity_numbers() {
        return security_numbers;
    }

    public void setSecurity_numbers(String security_numbers) {
        this.security_numbers = security_numbers;
    }

    public String getZip_Code() {
        return zip_Code;
    }

    public void setZip_Code(String zip_Code) {
        this.zip_Code = zip_Code;
    }

    public String getHome_address() {
        return home_address;
    }

    public void setHome_address(String home_address) {
        this.home_address = home_address;
    }

    public String getCompany_name() {
        return company_name;
    }

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public String getCompany_class() {
        return company_class;
    }

    public void setCompany_class(String company_class) {
        this.company_class = company_class;
    }

    public String getCompany_phone() {
        return company_phone;
    }

    public void setCompany_phone(String company_phone) {
        this.company_phone = company_phone;
    }

    public String getCompany_email() {
        return company_email;
    }

    public void setCompany_email(String company_email) {
        this.company_email = company_email;
    }

    public String getCompany_website() {
        return company_website;
    }

    public void setCompany_website(String company_website) {
        this.company_website = company_website;
    }

    public String getCompany_address() {
        return company_address;
    }

    public void setCompany_address(String company_address) {
        this.company_address = company_address;
    }

    public String getIntroducer() {
        return introducer;
    }

    public void setIntroducer(String introducer) {
        this.introducer = introducer;
    }

    public String getDisease_category() {
        return disease_category;
    }

    public void setDisease_category(String disease_category) {
        this.disease_category = disease_category;
    }

    public String getAdditional_remarks() {
        return additional_remarks;
    }

    public void setAdditional_remarks(String additional_remarks) {
        this.additional_remarks = additional_remarks;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public String getCurrent_create_user_id() {
        return current_create_user_id;
    }

    public void setCurrent_create_user_id(String current_create_user_id) {
        this.current_create_user_id = current_create_user_id;
    }

    public String getCurrent_update_user_id() {
        return current_update_user_id;
    }

    public void setCurrent_update_user_id(String current_update_user_id) {
        this.current_update_user_id = current_update_user_id;
    }

    public int getMedical_institution_ID() {
        return medical_institution_ID;
    }

    public void setMedical_institution_ID(int medical_institution_ID) {
        this.medical_institution_ID = medical_institution_ID;
    }

    public int getReturn_templete_id() {
        return return_templete_id;
    }

    public void setReturn_templete_id(int return_templete_id) {
        this.return_templete_id = return_templete_id;
    }

    public int getClient_Category_id() {
        return client_Category_id;
    }

    public void setClient_Category_id(int client_Category_id) {
        this.client_Category_id = client_Category_id;
    }

    public int getChannel_classification_id() {
        return channel_classification_id;
    }

    public void setChannel_classification_id(int channel_classification_id) {
        this.channel_classification_id = channel_classification_id;
    }

    public int getChannel_source_id() {
        return channel_source_id;
    }

    public void setChannel_source_id(int channel_source_id) {
        this.channel_source_id = channel_source_id;
    }

    public int getMedical_class_id() {
        return medical_class_id;
    }

    public void setMedical_class_id(int medical_class_id) {
        this.medical_class_id = medical_class_id;
    }

    public int getDisease_category_id() {
        return disease_category_id;
    }

    public void setDisease_category_id(int disease_category_id) {
        this.disease_category_id = disease_category_id;
    }

    public String getSystem_backup_field() {
        return system_backup_field;
    }

    public void setSystem_backup_field(String system_backup_field) {
        this.system_backup_field = system_backup_field;
    }

    public int getDelete_flag() {
        return delete_flag;
    }

    public void setDelete_flag(int delete_flag) {
        this.delete_flag = delete_flag;
    }

    @Override
    public String toString() {
        return "CustomerMessageEntity{" +
                "client_id=" + client_id +
                ", client_name='" + client_name + '\'' +
                ", client_age=" + client_age +
                ", client_gender=" + client_gender +
                ", birthDay='" + birthDay + '\'' +
                ", phone_Number='" + phone_Number + '\'' +
                ", IDNumber='" + IDNumber + '\'' +
                ", return_templete='" + return_templete + '\'' +
                ", client_Address='" + client_Address + '\'' +
                ", client_Manager='" + client_Manager + '\'' +
                ", next_Time='" + next_Time + '\'' +
                ", next_Content='" + next_Content + '\'' +
                ", client_Category='" + client_Category + '\'' +
                ", channel_classification='" + channel_classification + '\'' +
                ", channel_source='" + channel_source + '\'' +
                ", medical_class='" + medical_class + '\'' +
                ", security_numbers='" + security_numbers + '\'' +
                ", Zip_Code='" + zip_Code + '\'' +
                ", home_address='" + home_address + '\'' +
                ", company_name='" + company_name + '\'' +
                ", company_class='" + company_class + '\'' +
                ", company_phone='" + company_phone + '\'' +
                ", company_email='" + company_email + '\'' +
                ", company_website='" + company_website + '\'' +
                ", company_address='" + company_address + '\'' +
                ", introducer='" + introducer + '\'' +
                ", disease_category='" + disease_category + '\'' +
                ", additional_remarks='" + additional_remarks + '\'' +
                ", create_time='" + create_time + '\'' +
                ", update_time='" + update_time + '\'' +
                ", current_create_user_id='" + current_create_user_id + '\'' +
                ", current_update_user_id='" + current_update_user_id + '\'' +
                ", medical_institution_ID=" + medical_institution_ID +
                ", return_templete_id=" + return_templete_id +
                ", client_Category_id=" + client_Category_id +
                ", channel_classification_id=" + channel_classification_id +
                ", channel_source_id=" + channel_source_id +
                ", medical_class_id=" + medical_class_id +
                ", disease_category_id=" + disease_category_id +
                ", system_backup_field='" + system_backup_field + '\'' +
                ", delete_flag=" + delete_flag +
                '}';
    }

    public CustomerMessageEntity() {
        super();
    }
    //    public static final Parcelable.Creator<CustomerMessageEntity> CREATOR=new
//            Parcelable.Creator<CustomerMessageEntity>(){
//
//        @Override
//        public CustomerMessageEntity createFromParcel(Parcel parcel) {
//            CustomerMessageEntity customer=new CustomerMessageEntity();
//            customer.client_id=parcel.readInt();
//            customer.client_name=parcel.readString();
//            customer.client_age=parcel.readInt();
//            customer.client_gender=parcel.readInt();
//            customer.birthDay=parcel.readString();
//            customer.phone_Number=parcel.readString();
//            customer.IDNumber=parcel.readString();
//            customer.return_templete=parcel.readString();
//            customer.client_Address=parcel.readString();
//            customer.client_Manager=parcel.readString();
//            customer.next_Time=parcel.readString();
//            customer.next_Content=parcel.readString();
//            customer.client_Category=parcel.readString();
//            customer.channel_classification=parcel.readString();
//            customer.channel_source=parcel.readString();
//            customer.medical_class=parcel.readString();
//            customer.security_numbers=parcel.readString();
//            customer.home_address=parcel.readString();
//            customer.company_name=parcel.readString();
//            customer.company_class=parcel.readString();
//            customer.company_phone=parcel.readString();
//            customer.company_email=parcel.readString();
//            customer.company_website=parcel.readString();
//            customer.company_address=parcel.readString();
//            customer.introducer=parcel.readString();
//            customer.disease_category=parcel.readString();
//            customer.additional_remarks=parcel.readString();
//            customer.create_time=parcel.readString();
//            customer.update_time=parcel.readString();
//            customer.current_create_user_id=parcel.readString();
//            customer.current_update_user_id=parcel.readString();
//            customer.medical_institution_ID=parcel.readInt();
//            customer.return_templete_id=parcel.readInt();
//            customer.client_Category_id=parcel.readInt();
//            customer.channel_classification_id=parcel.readInt();
//            customer.channel_source_id=parcel.readInt();
//            customer.medical_class_id=parcel.readInt();
//            customer.disease_category_id=parcel.readInt();
//            customer.system_backup_field=parcel.readString();
//            customer.delete_flag=parcel.readInt();
//            return customer;
//        }
//
//        @Override
//        public CustomerMessageEntity[] newArray(int i) {
//            return new CustomerMessageEntity[i];
//        }
//    };
//
//    public void writeToParcel(Parcel desc, int i) {
//        desc.writeInt(client_id);
//        desc.writeString(client_name);
//        desc.writeInt(client_age);
//        desc.writeInt(client_gender);
//        desc.writeString(birthDay);
//        desc.writeString(phone_Number);
//        desc.writeString(IDNumber);
//        desc.writeString(return_templete);
//        desc.writeString(client_Address);
//        desc.writeString(client_Manager);
//        desc.writeString(next_Time);
//        desc.writeString(next_Content);
//        desc.writeString(client_Category);
//        desc.writeString(channel_classification);
//        desc.writeString(channel_source);
//        desc.writeString(medical_class);
//        desc.writeString(security_numbers);
//        desc.writeString(home_address);
//        desc.writeString(company_name);
//        desc.writeString(company_class);
//        desc.writeString(company_phone);
//        desc.writeString(company_email);
//        desc.writeString(company_website);
//        desc.writeString(company_address);
//        desc.writeString(introducer);
//        desc.writeString(disease_category);
//        desc.writeString(additional_remarks);
//        desc.writeString(create_time);
//        desc.writeString(update_time);
//        desc.writeString(current_create_user_id);
//        desc.writeString(current_update_user_id);
//        desc.writeInt(medical_institution_ID);
//        desc.writeInt(return_templete_id);
//        desc.writeInt(client_Category_id);
//        desc.writeInt(channel_classification_id);
//        desc.writeInt(channel_source_id);
//        desc.writeInt(medical_class_id);
//        desc.writeInt(disease_category_id);
//        desc.writeString(system_backup_field);
//        desc.writeInt(delete_flag);
//
//    }
}